<!DOCTYPE html>
<html>
<head>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/jsp/head.jsp"%>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/lib/bootstrap/css/bootstrap-tree.css">
<script src="${pageContext.request.contextPath}/static/js/lib/bootstrap/js/bootstrap-tree.js"></script>
<script src="${pageContext.request.contextPath}/static/js/lib/bootstrap/js/bootstrap-menu.js"></script>
<script src="${pageContext.request.contextPath}/static/js/menu.js"></script>
<script type="text/javascript">
$(function () {	
    $('#remoteTree').BootstrapTree({
    	expand: true,
		//url: basePath+'/static/js/data/org.txt',
		url: basePath+'/TSysMenuController/getMenuList',
		id: 'menuId',
		pid: 'parMenuId',
		text: 'menuName',
		onError: function(){
			alert(1);
		}
	});   
    
});

</script>
</head>

<body>
<div class="container">
	<nav id="menu"></nav>
	<div class="panel panel-default">
        <div class="panel-heading">远程加载树</div>
        <div class="panel-body"> 
            <div id="remoteTree"></div>
        </div>
        <div class="panel-footer">					            
        </div>
    </div>       

               
</div> 
</body>

</html>